package top.suven.base.oauth.dto.response;



import java.io.Serializable;

public class OAuthTokenResponseDto implements Serializable {
	private long userId;

	private String tokenId;

	private String username;

	private String clientId;

	private String authenticationId;

	private String refreshToken;
	private String tokenType ;
	private long expiresIn;
	private String scopes;

	private int trust; //是否信任
    private int status; // 逻辑删除的标识, 1表示已经删除


	public static OAuthTokenResponseDto clientInfo() {
		return new OAuthTokenResponseDto();
	}



	public String getClientId() {
		return clientId;
	}

	public OAuthTokenResponseDto setClientId(String clientId) {
		this.clientId = clientId;
		return this;
	}


	public long getExpiresIn() {
		return expiresIn;
	}

	public OAuthTokenResponseDto setExpiresIn(long expiresIn) {
		this.expiresIn = expiresIn;
		return this;
	}

	public int getTrust() {
		return trust;
	}

	public OAuthTokenResponseDto setTrust(int trust) {
		this.trust = trust;
		return this;
	}

	public int getStatus() {
		return status;
	}

	public OAuthTokenResponseDto setStatus(int status) {
		this.status = status;
		return this;
	}

	public String getScopes() {
		return scopes;
	}

	public OAuthTokenResponseDto setScopes(String scopes) {
		this.scopes = scopes;
		return this;
	}
}